<div class="print-main">
<!-- a4纸张 -->
<div class="print-warp a4">
	<div id="printContent">
	<div class="print-content">
    
    <div id="order-table">
    	<link rel="stylesheet" type="text/css" href="{{ getAssets }}lodop/print.css">	
        <div class="print-panel mb0">
        <div class="buyer-goods-info">
            <table class="table">
                <thead>
                    <tr>
                      <th colspan="10">
                      	<div class="top">
                            <div class="logo"></div>
                            <div class="title"><h3>库存调拨单</h3></div>
                        </div>
                        <div class="buyer-info">
                            <div class="row">
                                <div class="lie w200">单据编号：{{.m.Identifier}}</div>
                                <div class="lie w200">经办人：{{.m.OperatorName}}</div>
                                <div class="lie w200">制单人：{{.m.CreatedBy}}</div>
                                <div class="lie w200">制单时间：{{getDate .m.CreatedAt}}</div>
                                
                                <div class="lie w200">总产品数：{{.m.ProductNumber}}</div>
                                <div class="lie w200">总金额：{{.m.TotalMoney}}</div>
                                <div class="lie w200">调出门店：{{.m.FromDepName}}</div>
                                <div class="lie w200">调入门店：{{.m.ToDepName}}</div>
                                
                            </div>
                          
                        </div>
                      </th>
                    </tr>
                    <tr>
                        <td>序号</td>
                        <td width="20%">商品</td>
                        <td>屈光度</td>
                        <td>散光度</td>
                        <td>型号</td>
                        <td>颜色</td>
                        <td><span style="color:#03F">数量</span></td>
                        <td><span style="color:#03F">单价</span></td>
                        <td><span style="color:#03F">总金额</span></td>
                    </tr>
                </thead>
                <tbody>
                    {{range $k,$v := .m.AllocationData}}
                        <tr>
                            <td class="indexs"></td>
                            <td width="20%">{{$v.ProductName}}</td>
                            <td>{{$v.Diopter}}</td>
                            <td>{{$v.Astigmatism}}</td>
                            <td>{{$v.ModelNumber}}</td>
                            <td>{{$v.ColourNumber}}</td>
                            <td><span style="color:#03F">{{$v.Number}}</span></td>
                            <td><span style="color:#03F">{{$v.UnitPrice}}</span></td>
                            <td><span style="color:#03F">{{$v.TotalMoney}}</span></td>
                        </tr>
                     {{end}}
                </tbody>
                <tfoot>
                  <tr>
                    <TD ><b>表格页脚</b></TD>
                    <TD ><b>本页动态合计</b></TD>
                    <TD tdata="pageNO" format="#" align="left"><p align="center"><b>第<font color="#0000FF">#</font>页</b></p></TD>
                    <TD tdata="pageCount" format="#" align="left"><p align="center"><b>总<font color="#0000FF">##</font>页</b></TD>    
                    <TD ></TD>
                    <TD ></TD>
                    <TD ></TD>
                   <TD tdata="subSum" format="#,##0.00" align="right"><font color="#0000FF">###</font></TD> 
                   <TD tdata="subSum" format="#,##0.00" align="right"><font color="#0000FF">###</font></TD> 
                    
                 </tr>
               </tfoot>
                
            </table>
        </div>
        
        </div>
    </div>    
</div>
</div>
	<div class="print-handle">
    <div class="print-btn"><a href="javascript:void(0);" ectype="btnPreview"><i class="am-icon-eye"></i> 预览</a></div>
    <div class="print-btn"><a href="javascript:void(0);" ectype="btnPrint"><i class="am-icon-print"></i> 打印</a></div>
	
	<div class="tip">
		<div class="title">
			<h1>A4</h1>
			<em>Size: 210mm x 297mm</em>
		</div>
		<div class="desc"></div>
	</div>
</div></div>
</div>
<input type="hidden" name="width" value="210">
<input type="hidden" name="height" value="297">
